package org.alanlau;

import org.alanlau.dao.TestDao;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Hello world!
 *
 */
public class Test
{
    public static void main( String[] args )
    {
        ApplicationContext appCon = new ClassPathXmlApplicationContext("applicationContext.xml");
        TestDao testDao = (TestDao) appCon.getBean("testDao");
        testDao.sayHello();
    }
}
